package com.example.loginpage

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.animation.AlphaAnimation
import com.example.loginpage.databinding.FragmentOthersBinding

class OthersFragment : Fragment() {
    private lateinit var binding:FragmentOthersBinding
    override fun onCreateView(
        inflater: LayoutInflater, container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View {
        binding = FragmentOthersBinding.inflate(layoutInflater,container, false)

        // 设置Alpha动画
        val anim = AlphaAnimation(0.3f, 1.0f)
        anim.duration = 3000 // 动画持续时间
        binding.wrap.startAnimation(anim)

        return binding.root
    }

}